package cn.itsource.system.service;


import cn.itsource.basic.utils.PageResult;
import cn.itsource.system.domain.Menu;
import cn.itsource.system.query.MenuQuery;

import java.util.List;

public interface MenuService {
    List<Menu> findAll();

    Menu findOne(Long id);

    void add(Menu menu);

    void update(Menu menu);

    void delete(Long id);

    void patchdel(Long[] ids);

    PageResult<Menu> queryPage(MenuQuery MenuQuery);

    List<Menu> menuTree();

}

